const {readFileSync} = require("fs");

class Web {
    #clientHTML = readFileSync('index.html')
    constructor(_) {}

    index = ctx => {
        // ctx.set({'Content-Type': 'text/html'});
        ctx.type = 'html';
        ctx.body = this.#clientHTML
    }
}

module.exports = {
    Web,
}
